
        import { Entity, PrimaryGeneratedColumn, Column } from 'typeorm';
        import { CommonEntity } from '@entity/common.entity';
        
        // 参数配置表 -  实体类
        @Entity('jx3_drops', { comment: '' })
        export class DropsEntity extends CommonEntity {
          // 唯一Id标识，varchar(100)
          @PrimaryGeneratedColumn()
          id: string; // 可以是 number、string 等类型，根据你的需求选择
        
          
          // 用户id，varchar(50)
          @Column({
            type: 'varchar',
            length: 50,
            name: 'user_id',
            comment: '用户id',
          })
          userId: string;
        
          // 记录Id，varchar(50)
          @Column({
            type: 'varchar',
            length: 50,
            name: 'record_id',
            comment: '记录Id',
          })
          recordId: string;
        
          // 物品名称，varchar(40)
          @Column({
            type: 'varchar',
            length: 40,
            name: 'drops_name',
            comment: '物品名称',
          })
          dropsName: string;
        
          // 物品图片，varchar(50)
          @Column({
            type: 'varchar',
            length: 50,
            name: 'drops_url',
            comment: '物品图片',
          })
          dropsUrl: string;
        
          // 副本名称，varchar(50)
          @Column({
            type: 'varchar',
            length: 50,
            name: 'copy_name',
            comment: '副本名称',
          })
          copyName: string;
        
          // 创建时间，datetime(无上限)
          @Column({
            type: 'datetime',name: 'create_time',
            comment: '创建时间',
          })
          createTime: string;
        
          // 创建人，varchar(50)
          @Column({
            type: 'varchar',
            length: 50,
            name: 'create_by',
            comment: '创建人',
          })
          createBy: string;
        
          // 更新时间，datetime(无上限)
          @Column({
            type: 'datetime',name: 'update_time',
            comment: '更新时间',
          })
          updateTime: string;
        
        }
    